package cn.com.huak.www.sell.enums;

import lombok.Getter;

/**
 * @author huak@wanggang
 * @date 2018/12/30 20:14
 */
@Getter
public enum OrderStatusEnum implements CodeEnum {
    NEW(0, "新订单"),
    FINISHED(1, "订单完结"),
    CANCEL(2, "订单取消")
    ;

    /* 状态码 */
    private Integer code;

    /* 备注信息 */
    private String message;

    OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
